﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B55 RID: 2901
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MNKGMOHKAAP : IMessage<MNKGMOHKAAP>, IMessage, IEquatable<MNKGMOHKAAP>, IDeepCloneable<MNKGMOHKAAP>, IBufferMessage
	{
		// Token: 0x170024A1 RID: 9377
		// (get) Token: 0x060081BB RID: 33211 RVA: 0x0015A599 File Offset: 0x00158799
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MNKGMOHKAAP> Parser
		{
			get
			{
				return MNKGMOHKAAP._parser;
			}
		}

		// Token: 0x170024A2 RID: 9378
		// (get) Token: 0x060081BC RID: 33212 RVA: 0x0015A5A0 File Offset: 0x001587A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MNKGMOHKAAPReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170024A3 RID: 9379
		// (get) Token: 0x060081BD RID: 33213 RVA: 0x0015A5B2 File Offset: 0x001587B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MNKGMOHKAAP.Descriptor;
			}
		}

		// Token: 0x060081BE RID: 33214 RVA: 0x0015A5B9 File Offset: 0x001587B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNKGMOHKAAP()
		{
		}

		// Token: 0x060081BF RID: 33215 RVA: 0x0015A5C1 File Offset: 0x001587C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNKGMOHKAAP(MNKGMOHKAAP other) : this()
		{
			this.hFKOBENCLMF_ = ((other.hFKOBENCLMF_ != null) ? other.hFKOBENCLMF_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060081C0 RID: 33216 RVA: 0x0015A5F6 File Offset: 0x001587F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNKGMOHKAAP Clone()
		{
			return new MNKGMOHKAAP(this);
		}

		// Token: 0x170024A4 RID: 9380
		// (get) Token: 0x060081C1 RID: 33217 RVA: 0x0015A5FE File Offset: 0x001587FE
		// (set) Token: 0x060081C2 RID: 33218 RVA: 0x0015A606 File Offset: 0x00158806
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepter HFKOBENCLMF
		{
			get
			{
				return this.hFKOBENCLMF_;
			}
			set
			{
				this.hFKOBENCLMF_ = value;
			}
		}

		// Token: 0x060081C3 RID: 33219 RVA: 0x0015A60F File Offset: 0x0015880F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MNKGMOHKAAP);
		}

		// Token: 0x060081C4 RID: 33220 RVA: 0x0015A61D File Offset: 0x0015881D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MNKGMOHKAAP other)
		{
			return other != null && (other == this || (object.Equals(this.HFKOBENCLMF, other.HFKOBENCLMF) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060081C5 RID: 33221 RVA: 0x0015A650 File Offset: 0x00158850
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.hFKOBENCLMF_ != null)
			{
				num ^= this.HFKOBENCLMF.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060081C6 RID: 33222 RVA: 0x0015A68C File Offset: 0x0015888C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060081C7 RID: 33223 RVA: 0x0015A694 File Offset: 0x00158894
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060081C8 RID: 33224 RVA: 0x0015A69D File Offset: 0x0015889D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.hFKOBENCLMF_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.HFKOBENCLMF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060081C9 RID: 33225 RVA: 0x0015A6D0 File Offset: 0x001588D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.hFKOBENCLMF_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HFKOBENCLMF);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060081CA RID: 33226 RVA: 0x0015A710 File Offset: 0x00158910
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MNKGMOHKAAP other)
		{
			if (other == null)
			{
				return;
			}
			if (other.hFKOBENCLMF_ != null)
			{
				if (this.hFKOBENCLMF_ == null)
				{
					this.HFKOBENCLMF = new RogueMagicScepter();
				}
				this.HFKOBENCLMF.MergeFrom(other.HFKOBENCLMF);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060081CB RID: 33227 RVA: 0x0015A764 File Offset: 0x00158964
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060081CC RID: 33228 RVA: 0x0015A770 File Offset: 0x00158970
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 74U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.hFKOBENCLMF_ == null)
					{
						this.HFKOBENCLMF = new RogueMagicScepter();
					}
					input.ReadMessage(this.HFKOBENCLMF);
				}
			}
		}

		// Token: 0x040031C7 RID: 12743
		private static readonly MessageParser<MNKGMOHKAAP> _parser = new MessageParser<MNKGMOHKAAP>(() => new MNKGMOHKAAP());

		// Token: 0x040031C8 RID: 12744
		private UnknownFieldSet _unknownFields;

		// Token: 0x040031C9 RID: 12745
		public const int HFKOBENCLMFFieldNumber = 9;

		// Token: 0x040031CA RID: 12746
		private RogueMagicScepter hFKOBENCLMF_;
	}
}
